home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d16
/
nodee1a.arc
/
SOURCE.ARC
/
PS.H
< prev
Wrap
C/C++ Source or Header
|
1991-09-20
|
780b
|
40 lines
#ifndef __PS_H
#define __PS_H
#ifndef __FILE_H
#include "file.h"
#endif
/*------------------------------------------------------------
PSFile class
publicly derived from FileName
public members:
BOOL test(void) - determines if the file is a Postscript file
and contains a ^D in the first line. Returns TRUE if so.
int strip(void) - removes the ^D from the first line of the file
by shifting the remaining characters over one place to the left.
inherited public members:
BOOL SetFile(char *)
char* JustName(void)
char* ShortName(int)
char* LongName(void)
-----------------------------------------------------------*/
class PSFile: public FileName
{
public:
int strip(void);
BOOL test(void);
};
#endif